<script setup lang="ts">
import {onMounted} from 'vue'
import CisTreeSelect from '@/packages/library/CisTreeSelect';
import {inputTreeData} from '@/packages/utils/analogData';

const value = ref('2-1-1');
const treeRef = ref();

onMounted(() => {
})
</script>

<template>
  <el-row class="m-20px">
    <el-col :span="8">
      <CisTreeSelect
          ref="treeRef"
          v-model="value"
          :value-key="Id"
          :props="{
           children: 'childrens',
          label:'name'
        }"
          defaultSelect
          check-strictly
          checkStrictlyDefaultChild
          :data="inputTreeData"
      />
    </el-col>
  </el-row>
</template>
